import router from "@/router/permission"
import { initHttp } from "@Tea/utils"
import { useLoginOut } from "@/hooks/useLoginOut"

const initConfig = {
  onIdentityFail: useLoginOut,
}
const http = initHttp(initConfig)

export default http
